From 86531075d415e98574222a0e44bebc32bb06f0ba Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Thu, 15 Feb 2007 13:36:58 +0000 Subject: [PATCH] [VTPM] Add a missing initialization of a state variable in the TIS device model so that the first response received after a resume is not aborted. Signed-off-by: Stefan Berger --- tools/ioemu/hw/tpm_tis.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/ioemu/hw/tpm_tis.c b/tools/ioemu/hw/tpm_tis.c index 452516c182..926a697923 100644 --- a/tools/ioemu/hw/tpm_tis.c +++ b/tools/ioemu/hw/tpm_tis.c @@ -881,6 +881,7 @@ void tpm_tis_init(SetIRQFunc *set_irq, void *opaque, int irq) s->Transmitlayer = -1; s->tpmTx.fd[0] = -1; s->tpmTx.fd[1] = -1; + s->aborting_locty = NO_LOCALITY; tpm_initialize_instance(s, s->vtpm_instance); memset(s->buffer.buf,0,sizeof(s->buffer.buf)); -- 2.30.2